package cn.sq.musicserver.plug.model.qqmusicapi.constant;

import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 * User: SQ
 * Date: 2021/1/6
 * Time: 10:49
 * Description:
 */
public class QQMusicApiConstant {

    /**
     * 基础地址
     */
    public static   String  BASE_URL;

    /**
     * 搜索
     */
    public static   String  SEARCH= BASE_URL+"/search";

    /**
     * 下载
     */
    public static   String  DOWNLOAD= BASE_URL+"/song/url";
    /**
     * 获取专辑信息
     */
    public static   String  ALBUM= BASE_URL+"/album";

    /**
     * 歌词
     */
    public static   String  LYRIC= BASE_URL+"/lyric";


    /**
     * 通用请求头
     */
    public static HashMap<String, String> HEADERS = new HashMap<String, String>(){{
//        put("Accept", "application/json, text/plain, */*");
        put("Accept-Encoding", "gzip, deflate");
        put("Host", " music.jsososo.com");
        put("Accept-Language", "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3");
        put("Content-Type", "application/json;charset=utf-8");
    }};
    public static  String USERAGENT="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36";

}
